package com.mengchengnet.chaperonage.ui.activity;

import android.os.Bundle;
import android.webkit.WebView;

import com.mengchengnet.chaperonage.BaseActivity;
import com.mengchengnet.chaperonage.R;

/**
 * Created by Administrator on 2017/8/15.
 */

public class AboutUs extends BaseActivity {
    private WebView webView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_us);
        toolbarState =TOOLBAR_STYLE_BACK_TITLE;
        initToolbar("关于我们");
        webView= (WebView) findViewById(R.id.us_webView);
        //允许JavaScript执行
        webView.getSettings().setJavaScriptEnabled(true);
        //找到Html文件，也可以用网络上的文件
        webView.loadUrl("file:///android_asset/peihu.html");

    }
}
